package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 基础资料对象 kd_basic_data
 *
 * @author qijian
 * @date 2024-08-05
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("kd_basic_data")
public class KdBasicData extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "唯一id")
    private Long id;

    @Excel(name = "主表的序号")
    @ApiModelProperty(value = "主表的序号")
    private String kdMainSerialNumber;

    @Excel(name = "子表的序号")
    @ApiModelProperty(value = "子表的序号")
    private String kdDetailSerialNumber;

    @Excel(name = "编码")
    @ApiModelProperty(value = "编码")
    private String code;

    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    @Excel(name = "类别名称")
    @ApiModelProperty(value = "类别名称")
    private String type;

    @Excel(name = "类别编码")
    @ApiModelProperty(value = "类别编码")
    private String typeCode;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

}
